﻿ using SqlSugar;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 销售管理
    /// </summary>
    /// 
    [SugarTable("SalesManagement")]
    public class SalesManagement
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SaleId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)")]
        public string ?SalesOrderNumber { get; set; }

        public DateTime SalesDate { get; set; }

        [SugarColumn(ColumnDescription = "联系人")]
        public string ?LinkMan { get; set; }

        [SugarColumn(ColumnDescription = "联系电话")]
        public string ?ContactNumber { get; set; }

        [SugarColumn(ColumnDescription = "交货地址")]
        public string ?DestinationOfDelivery { get; set; }

        [SugarColumn(ColumnDescription = "备注")]
        public string ?Remark { get; set; }

        [SugarColumn(ColumnDescription = "客户名称")]
        public int ClientId { get; set; }

        [SugarColumn(ColumnDescription = "联系方式")]
        public string ?ContactInformation { get; set; }
        public bool IsDelete { get; set; } = false;
    }
}
